﻿#include "EventDelegate.h"
#include "EventDispatcher.h"
#include <iostream>
namespace Base
{
	void EventDelegate::RegisterEvent(int event_id, EventCallBackFunc func)
	{

	}

	void EventDelegate::RegisterEvent(const std::string &event_name, EventCallBackFunc func)
	{
		EventDispatcher::GetInstance()->AddEventDelegate(event_name,this, func);
	}
}